package com.gardeneaters.game_v0.autoplay;

import com.gardeneaters.game_v0.playingfield.Hexagon;

public class Autoplay {

	Bot[] bots;
	public Autoplay(Hexagon [][] hexagons, int[] teams) {
		
		bots = new Bot[teams.length];
		for(int i =0; i<teams.length; i++)
		{
			bots[i] = new Bot(hexagons, teams[i]);
		}
		
	}

	public void play() {
		
		for(int i =0; i<bots.length; i++)
		{
			bots[i].play();
		}
		
	}

}
